package com.canvas;

import com.animations.AgainAction;
import com.animations.BgAction;
import com.animations.BirdFlyAction;
import com.animations.BirdKeepMoveAction;
import com.animations.BirdRotateAction;
import com.animations.ListAction2;
import com.animations.ListenerAction;
import com.animations.MedalsBoardAction;
import com.animations.OverPicAction;
import com.animations.PipeAction;
import com.animations.PlayFlyAction2;
import com.animations.ReadyAction;
import com.animations.RoadAction;
import com.animations.ScoresAction;
import com.animations.Tag;
import com.animations.TipAction;
import com.beans.BirdBean;
import creator.ui.graphics.Magicanvas;
import java.util.ArrayList;

public class GameView extends Magicanvas {

  private static final long serialVersionUID = -1244955290818999859L;

  public void initialAnimations() {
    BirdBean._setAlive(true);
    Tag._closePlaySwitch();
    Tag._setDisappear(false);
    if (PipeAction.pipes != null) {
      PipeAction.pipes.clear();
    }
    BirdFlyAction.justOnce = true;
    BirdFlyAction.hiddenBird = false;
    getAnimations().add(new BgAction());
    getAnimations().add(new BirdKeepMoveAction());
    getAnimations().add(new ListenerAction());
    getAnimations().add(new PipeAction());
    getAnimations().add(new RoadAction());
    getAnimations().add(new OverPicAction());
    getAnimations().add(new AgainAction());
    getAnimations().add(new ScoresAction());
    getAnimations().add(new MedalsBoardAction());
    getAnimations().add(new ListAction2());

    getAnimations().add(new PlayFlyAction2());
    getAnimations().add(new BirdFlyAction());
    getAnimations().add(new BirdRotateAction());

    getAnimations().add(new TipAction());
    getAnimations().add(new ReadyAction());
  }
}
